FROM openshift/golang-builder@sha256:4820580c3368f320581eb9e32cf97aeec179a86c5749753a14ed76410a293d83 AS builder
ENV __doozer=update BUILD_RELEASE=202202231533.p0.g377604b.assembly.stream BUILD_VERSION=v4.10.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=10 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.10.0-202202231533.p0.g377604b.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge OS_GIT_COMMIT=377604b OS_GIT_VERSION=4.10.0-202202231533.p0.g377604b.assembly.stream-377604b SOURCE_DATE_EPOCH=1645629177 SOURCE_GIT_COMMIT=377604b43df7d588c70f82c01d48be65808b4f8b SOURCE_GIT_TAG=377604b4 SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator 
WORKDIR /ingress-operator
COPY . .
RUN make build

FROM openshift/ose-base:v4.10.0-202202160023.p0.g544601e.assembly.stream
ENV __doozer=update BUILD_RELEASE=202202231533.p0.g377604b.assembly.stream BUILD_VERSION=v4.10.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=10 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.10.0-202202231533.p0.g377604b.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge OS_GIT_COMMIT=377604b OS_GIT_VERSION=4.10.0-202202231533.p0.g377604b.assembly.stream-377604b SOURCE_DATE_EPOCH=1645629177 SOURCE_GIT_COMMIT=377604b43df7d588c70f82c01d48be65808b4f8b SOURCE_GIT_TAG=377604b4 SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator 
COPY --from=builder /ingress-operator/ingress-operator /usr/bin/
COPY manifests /manifests
ENTRYPOINT ["/usr/bin/ingress-operator"]

LABEL \
        io.openshift.release.operator="true" \
        io.k8s.display-name="OpenShift ingress-operator" \
        io.k8s.description="This is a component of OpenShift Container Platform and manages the lifecycle of ingress controller components." \
        maintainer="Dan Mace <dmace@redhat.com>" \
        name="openshift/ose-cluster-ingress-operator" \
        com.redhat.component="ose-cluster-ingress-operator-container" \
        io.openshift.maintainer.product="OpenShift Container Platform" \
        io.openshift.maintainer.component="Routing" \
        release="202202231533.p0.g377604b.assembly.stream" \
        io.openshift.build.commit.id="377604b43df7d588c70f82c01d48be65808b4f8b" \
        io.openshift.build.source-location="https://github.com/openshift/cluster-ingress-operator" \
        io.openshift.build.commit.url="https://github.com/openshift/cluster-ingress-operator/commit/377604b43df7d588c70f82c01d48be65808b4f8b" \
        version="v4.10.0"

